package com.zretc.entity;

public class OrderInfo {

	private String orderId;  	
	private Integer orderState;	
	private String inTime;
	private String outTime;
	private UserInfo userInfo;  //关联对象用户表
	private RoomInfo roomInfo;  //关联对象房间表
	public OrderInfo() {
		super();
	}
	public OrderInfo(String orderId, Integer orderState, String inTime, String outTime, UserInfo userInfo,
			RoomInfo roomInfo) {
		super();
		this.orderId = orderId;
		this.orderState = orderState;
		this.inTime = inTime;
		this.outTime = outTime;
		this.userInfo = userInfo;
		this.roomInfo = roomInfo;
	}
	public String getOrderId() {
		return orderId;
	}
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	public Integer getOrderState() {
		return orderState;
	}
	public void setOrderState(Integer orderState) {
		this.orderState = orderState;
	}
	public String getInTime() {
		return inTime;
	}
	public void setInTime(String inTime) {
		this.inTime = inTime;
	}
	public String getOutTime() {
		return outTime;
	}
	public void setOutTime(String outTime) {
		this.outTime = outTime;
	}
	public UserInfo getUserInfo() {
		return userInfo;
	}
	public void setUserInfo(UserInfo userInfo) {
		this.userInfo = userInfo;
	}
	public RoomInfo getRoomInfo() {
		return roomInfo;
	}
	public void setRoomInfo(RoomInfo roomInfo) {
		this.roomInfo = roomInfo;
	}
	@Override
	public String toString() {
		return "OrderInfo [orderId=" + orderId + ", orderState=" + orderState + ", inTime=" + inTime + ", outTime="
				+ outTime + ", userInfo=" + userInfo + ", roomInfo=" + roomInfo + "]";
	}
	
}
